<script setup>
import { ref } from 'vue'
import MyComponent from './index.vue'
  
const bookTitle = ref('v-model argument example')
</script>

<template>
  <h1>{{ bookTitle }}</h1>
  <!-- <MyComponent v-model:title="bookTitle"  /> -->
  <MyComponent :title="bookTitle"  @update:title="$event => (bookTitle = $event)" />
</template>